<?php 
    session_start();
    
    if(isset($_SESSION['ID'])){
        echo "<script type='text/javascript'>";
        echo "window.location = 'Novidades.php';";
        echo "</script>";
    }
?>
<!DOCTYPE html>
<html>
    <head>
        <link href="Styles/CSS.css" rel="stylesheet" type="text/css"/>
        <meta charset="UTF-8">
        <title>AGE - Login Servidor</title>
    </head>
    <body style="background-color: #9cea70"  onload="startTime()">
        <?php include("./cabecalho.html") ?>
        <form id="FORMULARIO_LOGIN" method="POST" action="operacoesPHP/loginServidor.php">
            <table style="margin: auto;">
                <tr>
                    <td>Login: </td>
                    <td> <input type="text" name="LOGIN" required> </td>
                </tr>
                <tr>
                    <td>Senha: </td>
                    <td> <input type="password" name="PASSWORD" required> </td>
                </tr>
                <tr>
                    <td> <input type="submit" value="Acessar"> </td>
                    <td style="font-size: 15px; text-align: right;"><a href="RecuperacaoSenhaServidor.php" style="color: black; text-decoration: none;">Esqueci minha senha</a></td>
                </tr>
            </table>
        </form>
        <a id="LINK_SERV" href="index.php">Aluno</a>
    </body>
</html>